package cn.iocoder.yudao.module.handguard.convert.applicationdeductrecord;

import java.util.*;

import cn.iocoder.yudao.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.iocoder.yudao.module.handguard.controller.app.applicationdeductrecord.vo.*;
import cn.iocoder.yudao.module.handguard.dal.dataobject.applicationdeductrecord.ApplicationDeductRecordDO;

/**
 * 产品订单-提成明细记录 Convert
 *
 * @author 芋道源码
 */
@Mapper
public interface ApplicationDeductRecordConvert {

    ApplicationDeductRecordConvert INSTANCE = Mappers.getMapper(ApplicationDeductRecordConvert.class);

    ApplicationDeductRecordDO convert(ApplicationDeductRecordCreateReqVO bean);

    ApplicationDeductRecordDO convert(ApplicationDeductRecordUpdateReqVO bean);

    ApplicationDeductRecordRespVO convert(ApplicationDeductRecordDO bean);

    List<ApplicationDeductRecordRespVO> convertList(List<ApplicationDeductRecordDO> list);

    PageResult<ApplicationDeductRecordRespVO> convertPage(PageResult<ApplicationDeductRecordDO> page);

    List<ApplicationDeductRecordExcelVO> convertList02(List<ApplicationDeductRecordDO> list);

}
